Skip to content

Update managed_switch.go#282

Closed
33k-org wants to merge 2 commits intoprometheus-community:mainfrom
33k-org:patch-8
Closed

Update managed_switch.go#282
33k-org wants to merge 2 commits intoprometheus-community:mainfrom
33k-org:patch-8

Conversation

@33k-org
Copy link
Copy Markdown

@33k-org 33k-org commented Feb 27, 2024

in order to get switch data after v. 7.2 you need to edit “managed_switch.go” to look like this: “api/v2/monitor/switch-controller/managed-switch/status”

 in order to get switch data after v. 7.2 you need to edit “managed_switch.go” to look like this: “api/v2/monitor/switch-controller/managed-switch/status”
@maos999
Copy link
Copy Markdown

maos999 commented Oct 21, 2024

Hi, would appreciate if this PR could be approved since I've the same issue with v. 7.2 and this will be the fix

Copy link
Copy Markdown
Contributor

@antnsn antnsn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

Copy link
Copy Markdown
Contributor

@antnsn antnsn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will work for new firmware, unsure how this work with earlier firmware?

Copy link
Copy Markdown

@maos999 maos999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix: looks good

@bastischubert
Copy link
Copy Markdown
Contributor

with 6.4 (last version that will break with this change) going end of everything 2026-03-31 i think we should just merge it and risk braking ancient devices that are no longer supported, in favour of current systems.

@bastischubert
Copy link
Copy Markdown
Contributor

closing in favour of #324

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants